import http from '../untils/http.js'
export default {
    //考生人脸识别
    // getPhoto(params) {
    //     return http.post('/api' + '/app/getPhoto', params)
    // },
    //验证身份
    checkExamineeByIdCard(idCard, type) {
        return http.get('/api' + '/client/checkExamineeByIdCard/' + idCard + '/' + type)
    },

    //考生人脸识别
    getPhoto(params) {
        return http.post('/api' + '/client/checkExaminee', params)
    },

    //考试试题
    getQuestions(examineeId) {
        return http.get('/api' + '/client/getQuestions/' + examineeId)
    },
    //保存答案
    saveQuestion(params) {
        return http.post('/api' + '/client/saveQuestion', params)
    },
    //提交试卷
    submit(params) {
        return http.post('/api' + '/client/submit', params)
    },
    //模拟试题接口
    getActionQuestions() {
        return http.get('/api' + '/client/getActionQuestions')
    },
    //x训练开始
    startTrain(examineeId) {
        return http.get('/api' + '/client/startTrain/' + examineeId)
    },
    //x训练结束
    finishTrain(examineeId) {
        return http.get('/api' + '/client/finishTrain/' + examineeId)
    },
    pose(params) {
        return http.post('/phy' + '/pose', params)
    },

}

